<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Login</title>
    </h:head>
    <h:body>
        <h:form id="fLogin" prependId="false"
        onsubmit="document.getElementById('fLogin').action='j_security_check';">
        <!-- <form action="j_security_check" method="post"> -->
            <h:outputLabel for="j_username" value="Username" />
            <h:inputText id="j_username" />
            <h:outputLabel for="j_password" value="Password" />
            <h:inputSecret id="j_password" />
            <h:commandButton value="Login" />
            <br/>
            <h:commandLink value="Register?" action="../register.xhtml"/>
        </h:form>
    </h:body>
</html>

